﻿<?php 
$controller = $this->uri->segment(1);
$action = $this->uri->segment(2);
if(!isset($controller))
{
	$controller = '';
}
if(!isset($action))
{
	$action = '';
}
define('CONTROLLER', $controller);
define('ACTION', $action);
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<?php echo modules::run('layouts/header/index');?>
<body>
<div id="container">
	<!-- START HEADER -->
	<div id="header">
		<div class="logo_support">
			<div class="logo">
				<a href="#" title="Cheapercheaper"><img src="<?=base_url()?>static/images/logo.jpg" alt=""/></a>
			</div>
			<div class="support">
				<p class="trogiup">TRỢ GIÚP XIN GỌI</p>
				<p><b>(08) 38369682</b> hoặc <b>0903.036.036</b> hoặc <b>0908.092.681</b></p>
				<p>
					<a href="ymsgr:sendim?tommy_h88&amp;m=Hello"><img border="0" src="http://opi.yahoo.com/online?u=tommy_h88&amp;m=g&amp;t=1=us" alt="icctv.com"/></a>
				</p>
			</div>
			<div class="ClearAll"></div>
		</div>
		<div class="menu_top">
			<div class="menu">
                <a href="<?=base_url().'index.php/'?>home.html" title="Home" class="home <?php if($active_menu == 'home') echo "active";?>"></a>
                <a href="<?=base_url().'index.php/'?>camera-quan-sat.html" title="Camera quan sát" class="camera_quan_sat <?php if($active_menu == 'camera_quan_sat') echo "active";?>"></a>
                <a href="<?=base_url().'index.php/'?>dau-ghi-hinh-dvr.html" title="Đàu ghi hình DVR" class="dau_ghi_hinh <?php if($active_menu == 'dau_ghi_hinh_dvr') echo "active";?>"></a>
                <a href="<?=base_url().'index.php/'?>camera-nang-luong_mat-troi.html" title="Camera năng lượng mặt trời" class="camera_nang_luong_mat_troi <?php if($active_menu == 'camera_nang_luong_mat_troi') echo "active";?>"></a>
                <a href="<?=base_url().'index.php/'?>he-thong-may-tinh-tien.html" title="Hệ thống máy tính tiền" class="he_thong_may_tinh_tien <?php if($active_menu == 'he_thong_may_tinh_tien') echo "active";?>"></a>
                <a href="<?=base_url().'index.php/'?>khach-hang.html" title="home" class="khach_hang <?php if($active_menu == 'khach_hang') echo "active";?>"></a>
                <a href="<?=base_url().'index.php/'?>home/page/lienhe" title="home" class="lienhe <?php if($active_menu == 'lienhe') echo "active";?>"></a>
			</div>
			
			<div class="ClearAll"></div>
		</div>
		<div class="menu_navi">
		    <a href="<?=base_url().'index.php/'?>product/filter/new_arrival-0.html" title="home" class="hangmoive"></a>
            <a href="<?=base_url().'index.php/'?>product/filter/best_selling-0.html" title="home" class="muahangmy"></a>
            <a href="<?=base_url().'index.php/'?>product/filter/sele_off-0.html" title="home" class="brandname"></a>
		    <div class="ClearAll"></div>
		</div>
	</div>
	<!-- END HEADER -->
	<div id="contents">
		<div class="menu_left">
			<?php echo modules::run('layouts/menu_trai/index',$active_menu);?>
		</div>
		<div class="content">
		<?php echo $content?>
		</div>
		<div class="ClearAll"></div>
	</div>
<?php echo modules::run('layouts/footer/index');?>
</body>
</html>
